package com.kedacom.ctsp.authority.service.simple;

import com.kedacom.ctsp.authority.dao.DataDictDao;
import com.kedacom.ctsp.authority.entity.DataDict;
import com.kedacom.ctsp.authority.service.DataDictService;
import com.kedacom.ctsp.web.service.simple.AbstractCrudEntityService;
import org.springframework.stereotype.Service;

@Service
public class DataDictServiceImpl extends AbstractCrudEntityService<DataDict, String> implements DataDictService {

    @Override
    public DataDict findByCode(String code) {
        return ((DataDictDao) getDao()).findByCode(code);
    }
}
